@charset "UTF-8";

@import "_helper";
@import "_base-preheat";
@import "_normalize";

.g-org {
    color: #df2926;
}
.rewards-page {
    min-height: 100%;
    background: #f0f1f2;
}
.reward-header {
	padding: 20px 10px 10px 20px;
    .reward-num {
        float: right;
    }
}
.reward-wrap {
    display: block;
    margin: 0 10px;
	background: #fff;
	border: 1px solid #ccc;
	text-align: center;	
    .pic {
        margin: 20px 0 10px;
        position: relative;                     
		img {
			max-width: 65%;
			max-height: 160px;
		}
        .luck-name {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translateX(-50%) translateY(-50%);
            padding: 7px 12px;
            background: #e84946;
            font-size: 13px;
            color: #fff;
            border-radius: 4px;
        }
	}
    .count-time {
        margin: 10px 0 15px;
        span {
            display: inline-block;
            padding: 2px 4px;
            background: #ff4b27;
            color: #fff;
            font-size: 26px;
            border-radius: 4px;
            line-height: 1;
            vertical-align: middle;
        }
        &.disabled {
            span {
                background: #cecece;
                color: #fff;
            }
        }
        .txt {
            padding-left: 3px;
            font-style: normal;
        }
    }
}  
.participant {
    margin: 20px;
    font-size: 14px;
    .pt-table-wrap {
        height: 200px;  
        overflow: auto;
        margin-top: 5px;
        font-size: 12px;
    }
    .pt-table {
        width: 100%;
    }
}  
.buy-wrap {
    padding: 10px 0;
    width: 100%;
    background: #fff;
    position: fixed;
    bottom: 0;
    text-align: center;
    border: 1px solid #d9d9d9;
    box-sizing: border-box;
    .cont-left {
        display: inline-block;
        padding-right: 5px;
        margin: 5px 0;
        vertical-align: middle;
        .remain-money {
            font-size: 14px;
        }
    }
    .cont-right {
        display: inline-block;
    }
    .inp-wrap {
        display: inline-block;
        overflow: hidden;
        border: 1px solid #d9d9d9;
        vertical-align: middle;
    }
    .buy-num-inp {
        float: left;
        width: 34px;
        height: 32px;
        box-sizing: border-box;
        line-height: 24px;
        text-align: center;
        border: none;
    }
    .min-btn {
        @extend .buy-num-inp;
        padding: 0;
        line-height: 32px;
        font-size: 20px;
        font-weight: bold;
        color: #ff4b27;
        border-right: 1px solid #d9d9d9;
    }
    .plus-btn {
        @extend .min-btn;
        border-right: none;
        border-left: 1px solid #d9d9d9;
    }
    .btn-buy {
        font-size: 12px;
        padding: 9px 10px;
        vertical-align: middle;
    }
    .btn-charge {
        @extend .btn-buy;
    }
}